<%!
public void jspDestroy() {
    System.out.println("This method is jspDestroy()");
}

public void jspInit() {
    System.out.println("This method is jspInit()");
    System.out.println(this.getClass().getName());
    System.out.println(this.getClass().getSuperclass().getName());
}
%>
<html>
<head>
    <title>JavaServer Page Lifecycle</title>
</head>
<body bgcolor="#FFFFFF">
<h1>To illustrate JavaServer Page lifecycle</h1>
</body>
</html>


<%
    System.out.println("This method is _jspService()");

%>